package org.example.platform.design.decoration.version;


import lombok.Data;

@Data
public class Person2 {
    private String name;

    public Person2() {
        System.out.println("1");
    }

    public Person2(String name) {
        this.name = name;
    }

    public void show() {
        System.out.println("展示：" + name);
    }

}
